package com.elai.tags.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 标签类型对象 base_tags_type
 *
 * @author elai
 * @date 2021-06-27
 */
public class BaseTagsTypeDO extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 标签ID */
    private Long id;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String typeName;

    /** 标签描述 */
    @Excel(name = "标签描述")
    private String typeRemark;

    /** 类型状态是否可用Y */
    @Excel(name = "类型状态是否可用Y")
    private String typeStatus;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }
    public String getTypeName()
    {
        return typeName;
    }

    public void setTypeRemark(String typeRemark)
    {
        this.typeRemark = typeRemark;
    }
    public String getTypeRemark()
    {
        return typeRemark;
    }

    public void setTypeStatus(String typeStatus)
    {
        this.typeStatus = typeStatus;
    }
    public String getTypeStatus()
    {
        return typeStatus;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("typeName", getTypeName())
            .append("typeRemark", getTypeRemark())
            .append("typeStatus", getTypeStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
